package com.smartwebx.ha.web.admin.module.screen.role;

import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.citrus.turbine.dataresolver.Param;
import com.smartwebx.ha.biz.assign.HaRoleManager;

public class AjaxDeleteRole {
	@Autowired
	private HaRoleManager haRoleManager;

	public void execute(@Param("roleIds") String roleIds) throws Exception {
		if (StringUtils.isNotBlank(roleIds)) {
			haRoleManager.delRole(roleIds);
		}

	}

}
